package com.yuexunit.finance.member.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.yuexunit.finance.project.entity.lexicon.ProductTypeEnum;

/**
 *@version 创建时间：2016年10月11日 下午5:16:08
 *@author NTBK-021-1006
 *类说明
 */

@Entity
@Table(name = "FIN_BULKSTOCK_PLEDGE_RATE")
public class FinanceBulkstockPledgeRateEntity {
	/** 质押率ID */
	@Id
	@GeneratedValue
	@Column(name = "PLEDGE_RATE_ID")
	private Long pledgeRateId;

	/** 会员评估等级ID */
	@Column(name = "GRADE_EVALUATION_ID")
	private Long gradeEvaluationId;

	/** 大宗商品ID */
	@Column(name = "BULKSTOCK_INFO_ID")
	private Long bulkstockInfoId;

	/** 质押率上限 */
	@Column(name = "PLEDGE_RATE_CEILING")
	private BigDecimal pledgeRateCeiling;

	/** 贷款利率上限 */
	@Column(name = "LOAN_RATE_CEILING")
	private BigDecimal loanRateCeiling;

	/** 有效起始时间(含) */
	@Column(name = "EFFECTIVE_START_D8")
	private Integer effectiveStartDate;

	/** 有效截止时间(含) */
	@Column(name = "EFFECTIVE_END_D8")
	private Integer effectiveEndDate;

	/** 产品类型 */
	@Column(name = "PRODUCT_TYPE")
	private ProductTypeEnum productType;

	/** 产品名称 */
	@Column(name = "PRODUCT_NAME")
	private String productName;

	/** 质押率 */
	@Column(name="BAIL_RATE")
	private BigDecimal bailRate;

	public BigDecimal getBailRate()
	{
		return this.bailRate;
	}

	public void setBailRate(BigDecimal bailRate) {
		this.bailRate = bailRate;
	}

	public Long getGradeEvaluationId() {
		return gradeEvaluationId;
	}

	public void setGradeEvaluationId(Long gradeEvaluationId) {
		this.gradeEvaluationId = gradeEvaluationId;
	}

	public ProductTypeEnum getProductType() {
		return productType;
	}

	public void setProductType(ProductTypeEnum productType) {
		this.productType = productType;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public Long getPledgeRateId() {
		return pledgeRateId;
	}

	public void setPledgeRateId(Long pledgeRateId) {
		this.pledgeRateId = pledgeRateId;
	}

	public Long getBulkstockInfoId() {
		return bulkstockInfoId;
	}

	public void setBulkstockInfoId(Long bulkstockInfoId) {
		this.bulkstockInfoId = bulkstockInfoId;
	}

	public BigDecimal getPledgeRateCeiling() {
		return pledgeRateCeiling;
	}

	public void setPledgeRateCeiling(BigDecimal pledgeRateCeiling) {
		this.pledgeRateCeiling = pledgeRateCeiling;
	}

	public BigDecimal getLoanRateCeiling() {
		return loanRateCeiling;
	}

	public void setLoanRateCeiling(BigDecimal loanRateCeiling) {
		this.loanRateCeiling = loanRateCeiling;
	}

	public Integer getEffectiveStartDate() {
		return effectiveStartDate;
	}

	public void setEffectiveStartDate(Integer effectiveStartDate) {
		this.effectiveStartDate = effectiveStartDate;
	}

	public Integer getEffectiveEndDate() {
		return effectiveEndDate;
	}

	public void setEffectiveEndDate(Integer effectiveEndDate) {
		this.effectiveEndDate = effectiveEndDate;
	}
}
